<?php
namespace Hive\Mission\Announce;
/**
 * Job Offer Status,
 * 
 * It represent a status of mission
 * 
 *
 * @author Xavier VILAIN
 * @package Hive\Mission\Announce
 *
 * @property string	$status			Id of the status
 * @property string	$language		Language
 * @property string	$label			Label
 * @property bool	$standard		Is a standard type (can't be deleted)
 * 
 */
class Status  extends \Fox\Object {

	/**
	 * 
	 * Standard Type
	 * @var string
	 */
	const DEFAULT_STATUS = 1;
	
	/**
	 * Published
	 * @var string
	 */
	const PUBLISHED = 2;
	
}
\Fox\Dao::infos(
	Status::className(),
	new \Fox\Object\Info('mission_announce_statuses', \Fox\Databases::DB_APP)
);

\Fox\Dao::useZone(Status::className(),new \Fox\Dao\DiskTimeCacheZone(\Fox\Dao\DiskTimeCacheZone::PERIOD_FOREVER,Status::cacheDirectory()));